package src.反射7;
import java.util.ArrayList;
import java.util.Map;

public class Text {
    public static void main(String[] args) throws Exception {
        Map<String, Object> stringObjectMap = MyhandleDbReflection.queryMap("select * from tbl_lixue where id=?", 5);
        System.out.println(stringObjectMap);
        ArrayList<Map> ooo = MyhandleDbReflection.queryMapList("select * from tbl_lixue where username=?", "ooo");
        System.out.println(ooo);
        Object[] objects = MyhandleDbReflection.queryArray("select * from tbl_lixue where id=?",3);
        System.out.println(objects);


    }
}
